<?php 
namespace app\admin\model;
use think\Model;
use think\Db;
class SpecItem extends Model
{
	protected $table = 'spec_item';
	public function getSpecChild($id=''){
		return Db::table($this->table)->field('id,item')->where('spec_id',$id)->select();
	}
}